runtime.p.id (field)
19 uses
runtime (current package)
debuglog.go#L114: l.w.varint(int64(gp.m.p.ptr().id))
mgc.go#L692: println("runtime: p", p.id, "flushGen", fg, "!= sweepgen", mheap_.sweepgen)
mgc.go#L1618: print("runtime: P ", p.id, " flushedWork ", gcw.flushedWork)
mgcpacer.go#L713: myID := gp.m.p.ptr().id
proc.go#L5567: pp.id = id
proc.go#L5749: if gp.m.p != 0 && gp.m.p.ptr().id < nprocs {
proc.go#L6383: print(pp.id)
proc.go#L6602: timerpMask.clear(pp.id)
proc.go#L6604: idlepMask.set(pp.id)
proc.go#L6630: timerpMask.set(pp.id)
proc.go#L6631: idlepMask.clear(pp.id)
proc.go#L7092: return int(mp.p.ptr().id)
runtime2.go#L651: id int32
tracecpu.go#L252: hdr[0] = uint64(pp.id)<<1 | 0b1
traceevent.go#L124: w = w.writeProcStatus(uint64(pp.id), procStatus, pp.trace.inSweep)
traceruntime.go#L317: tl.eventWriter(traceGoSyscall, traceProcIdle).commit(traceEvProcStart, traceArg(pp.id), pp.trace.nextSeq(tl.gen))
traceruntime.go#L591: w.w = w.w.writeProcStatus(uint64(pp.id), traceProcSyscallAbandoned, pp.trace.inSweep)
traceruntime.go#L593: w.commit(traceEvProcSteal, traceArg(pp.id), pp.trace.nextSeq(tl.gen), traceArg(mStolenFrom))
tracestatus.go#L101: w = w.writeProcStatus(uint64(pp.id), status, pp.trace.inSweep)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |